package com.antu.first.bean;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2018/3/3.
 */
public class Indent {

    private int iId;//Id

    private String iSequence;//订单编号

    private int iStatus;//订单状态

    private String iUserPhone;//使用者电话号码

    private String iUserName;//使用者姓名

    private Date iStart;//用户入住时间

    private Date iLeave;//用户离开时间

    private double iTotal;//订单总金额

    private double iAmount;//实际消费金额

    private Date iCreateTime;//订单创建时间

    private Date iCompleteTime;//订单完成时间

    private Hotel hotel;//所属酒店

    private User user;//所属用户

    private Merchant merchant;//订单操作者

    private DiscountCoupon discountCoupon;//订单所用优惠券

    private Room room;//该订单的房间信息

    private String iCheckCode;//凭证码

    public Indent() {
    }

    public Indent(int iId, String iSequence, int iStatus, String iUserPhone, String iUserName, Date iStart, Date iLeave, double iTotal, double iAmount, Date iCreateTime, Date iCompleteTime, Hotel hotel, User user, Merchant merchant, DiscountCoupon discountCoupon, Room room, String iCheckCode) {

        this.iId = iId;
        this.iSequence = iSequence;
        this.iStatus = iStatus;
        this.iUserPhone = iUserPhone;
        this.iUserName = iUserName;
        this.iStart = iStart;
        this.iLeave = iLeave;
        this.iTotal = iTotal;
        this.iAmount = iAmount;
        this.iCreateTime = iCreateTime;
        this.iCompleteTime = iCompleteTime;
        this.hotel = hotel;
        this.user = user;
        this.merchant = merchant;
        this.discountCoupon = discountCoupon;
        this.room = room;
        this.iCheckCode = iCheckCode;
    }

    public int getiId() {

        return iId;
    }

    public void setiId(int iId) {
        this.iId = iId;
    }

    public String getiSequence() {
        return iSequence;
    }

    public void setiSequence(String iSequence) {
        this.iSequence = iSequence;
    }

    public int getiStatus() {
        return iStatus;
    }

    public void setiStatus(int iStatus) {
        this.iStatus = iStatus;
    }

    public String getiUserPhone() {
        return iUserPhone;
    }

    public void setiUserPhone(String iUserPhone) {
        this.iUserPhone = iUserPhone;
    }

    public String getiUserName() {
        return iUserName;
    }

    public void setiUserName(String iUserName) {
        this.iUserName = iUserName;
    }

    public Date getiStart() {
        return iStart;
    }

    public void setiStart(Date iStart) {
        this.iStart = iStart;
    }

    public Date getiLeave() {
        return iLeave;
    }

    public void setiLeave(Date iLeave) {
        this.iLeave = iLeave;
    }

    public double getiTotal() {
        return iTotal;
    }

    public void setiTotal(double iTotal) {
        this.iTotal = iTotal;
    }

    public double getiAmount() {
        return iAmount;
    }

    public void setiAmount(double iAmount) {
        this.iAmount = iAmount;
    }

    public Date getiCreateTime() {
        return iCreateTime;
    }

    public void setiCreateTime(Date iCreateTime) {
        this.iCreateTime = iCreateTime;
    }

    public Date getiCompleteTime() {
        return iCompleteTime;
    }

    public void setiCompleteTime(Date iCompleteTime) {
        this.iCompleteTime = iCompleteTime;
    }

    public Hotel getHotel() {
        return hotel;
    }

    public void setHotel(Hotel hotel) {
        this.hotel = hotel;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Merchant getMerchant() {
        return merchant;
    }

    public void setMerchant(Merchant merchant) {
        this.merchant = merchant;
    }

    public DiscountCoupon getDiscountCoupon() {
        return discountCoupon;
    }

    public void setDiscountCoupon(DiscountCoupon discountCoupon) {
        this.discountCoupon = discountCoupon;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    public String getiCheckCode() {
        return iCheckCode;
    }

    public void setiCheckCode(String iCheckCode) {
        this.iCheckCode = iCheckCode;
    }

    @Override
    public String toString() {
        return "Indent{" +
                "iId=" + iId +
                ", iSequence='" + iSequence + '\'' +
                ", iStatus=" + iStatus +
                ", iUserPhone='" + iUserPhone + '\'' +
                ", iUserName='" + iUserName + '\'' +
                ", iStart=" + iStart +
                ", iLeave=" + iLeave +
                ", iTotal=" + iTotal +
                ", iAmount=" + iAmount +
                ", iCreateTime=" + iCreateTime +
                ", iCompleteTime=" + iCompleteTime +
                ", hotel=" + hotel +
                ", user=" + user +
                ", merchant=" + merchant +
                ", discountCoupon=" + discountCoupon +
                ", room=" + room +
                ", iCheckCode='" + iCheckCode + '\'' +
                '}';
    }
}
